﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="columnleft">
    <div class="leftblock">
    <h2>档案</h2>
    <div class="infodiv">
        
    </div>
    <div id="personalDiv">
        <ul>
            <li>网名：</li>
            <li>本名：</li>
            <li>位置：</li>
            <li>职业：</li>
        </ul>
    </div>
</div>
    <div class="leftblock">
        <h2>登录</h2>
        <div>
            <p>用户名：<asp:TextBox ID="txtUserName" runat="server" CssClass="textbox"></asp:TextBox></p>
            <p>密&nbsp;&nbsp;&nbsp;码：<asp:TextBox ID="txtPassword" runat="server" CssClass="textbox"></asp:TextBox></p>
            <p><asp:Button ID="Button1" runat="server" Text="登 录" CssClass="button"/></p>
        </div>
    </div>
     <div class="leftblock">
        <h2>订阅</h2>
        <div id="rssdiv">
            <ul>
                <li><img src="Images/rss.png" alt=""/>博客</li>
                <li><img src="Images/rss.png" alt=""/>新闻</li>
                <li><img src="Images/rss.png" alt=""/>相册</li>
            </ul>
        </div>
    </div>
</div>
<div id="columnright">
      <div class="rightblock">
        <h2>最新文章</h2>
        <div id="divRecentPosts">
        <asp:ListView ID="lvRecentPosts" runat="server" EnableViewState="false">
            <LayoutTemplate>
                <ul>
                    <asp:PlaceHolder ID="itemPlaceHolder" runat="server"></asp:PlaceHolder>
                </ul>
            </LayoutTemplate>
            <ItemTemplate>
                <li><a href="PostDetail.aspx?id=<%# Eval("Id") %>"><%# Eval("Title") %></a></li>
            </ItemTemplate>
        </asp:ListView>         </div>
    </div> 
</div>

</asp:Content>

